<?php


namespace Demo\Observe;


use SplSubject;

class Dog implements \SplObserver
{
    public function update(SplSubject $subject)
    {
        echo "I'm a dog observe, 我也可以不输出.".PHP_EOL;
    }
}